﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" culture="auto" meta:resourcekey="PageResource1" uiculture="auto"
CodeFile="TruckStatusEdit.aspx.cs" Inherits="SystemManage_TruckStatusEdit" Title="编辑车辆动态状态" %>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="title">
        &nbsp;<asp:Label ID="lblPageType" runat="server" Text="编辑车辆动态状态" meta:resourcekey="lblPageTypeResource1"></asp:Label></div>
    <table class="add_table" cellspacing="1" cellpadding="3" align="center">
        <tr>
            <td align="right">
                <label for="statusname">
                    <b style="color: Red">*</b></label><asp:Label ID="lblStatusName" runat="server" Text="状态（简体）：" meta:resourcekey="lblStatusNameResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtStatusName" runat="server" Width="172px" MaxLength="50" 
                    ValidationGroup="ts" meta:resourcekey="txtStatusNameResource1"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rqvalStatusName" runat="server" ControlToValidate="txtStatusName"
                    ErrorMessage="不能为空" ValidationGroup="ts" meta:resourcekey="rqvalStatusNameResource1"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <label>
                    <b style="color: Red">*</b></label><asp:Label ID="lblHKStatusName" runat="server" Text="状态（繁体）：" meta:resourcekey="lblHKStatusNameResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtHKStatusName" runat="server" Width="172px" MaxLength="50" 
                    ValidationGroup="ts" meta:resourcekey="txtHKStatusNameResource1"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rqvalHKStatusName" runat="server" ControlToValidate="txtHKStatusName"
                    ErrorMessage="不能为空" ValidationGroup="ts" meta:resourcekey="rqvalHKStatusNameResource1"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <label>
                    <b style="color: Red">*</b></label><asp:Label ID="lblENGStatusName" runat="server" Text="状态（英文）：" meta:resourcekey="lblENGStatusNameResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtENGStatusName" runat="server" Width="172px" MaxLength="50" 
                    ValidationGroup="ts" meta:resourcekey="txtENGStatusNameResource1"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rqvalENGStatusName" runat="server" ControlToValidate="txtENGStatusName"
                    ErrorMessage="不能为空" ValidationGroup="ts" meta:resourcekey="rqvalENGStatusNameResource1"></asp:RequiredFieldValidator>
            </td>
        </tr>
          <tr>
            <td align="right">
                <label for="sequence">
                    <b style="color: Red">*</b></label><asp:Label ID="lblSequence" runat="server" Text="次序：" meta:resourcekey="lblSequenceResource1"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtSequence" runat="server" Width="172px" ValidationGroup="ts" 
                    meta:resourcekey="txtSequenceResource1"></asp:TextBox>
                <asp:RequiredFieldValidator
                        ID="rqvalSequence" runat="server" ControlToValidate="txtSequence"
                        ErrorMessage="次序不能为空" ValidationGroup="ts" meta:resourcekey="rqvalSequenceResource1"></asp:RequiredFieldValidator>
                 <asp:CompareValidator ID="cvSequence" runat="server" ErrorMessage="次序必需是整数" Display="Dynamic" meta:resourcekey="cvSequenceResource1"
                    ControlToValidate="txtSequence" Operator="GreaterThanEqual" Type="Integer" ValueToCompare="0" ValidationGroup="ts"></asp:CompareValidator>
              
            </td>
        </tr>
        <tr>
            <td align="right">
                <label for="interval">
                    <b style="color: Red">*</b></label><asp:Label ID="lblInterval" runat="server" Text="下一动态间隔时间：" meta:resourcekey="lblIntervalResource2"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtInterval" runat="server" Width="172px" ValidationGroup="ts" 
                    meta:resourcekey="txtIntervalResource1"></asp:TextBox>
                <asp:Label ID="lblInterval1" runat="server" Text="小时" meta:resourcekey="lblIntervalResource1"></asp:Label>
                <asp:RequiredFieldValidator
                        ID="rqvalInterval" runat="server" ControlToValidate="txtInterval" meta:resourcekey="rqvalIntervalResource1"
                        ErrorMessage="下一动态间隔时间不能为空" ValidationGroup="ts"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="cvInterval" runat="server" ErrorMessage="下一动态间隔时间必需是数字" Display="Dynamic" meta:resourcekey="cvIntervalResource1"
                        ControlToValidate="txtInterval" Operator="GreaterThan" Type="Currency" ValueToCompare="0" ValidationGroup="ts"></asp:CompareValidator>
              
            </td>
        </tr>
    </table>
    <table class="add_table" cellspacing="1" cellpadding="3">
        <tr>
            <td align="center">
                <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" 
                    CssClass="btn" ValidationGroup="ts" meta:resourcekey="btnSaveResource1"/>
               &nbsp; <asp:Button ID="btnReset" runat="server" Text="返回" CssClass="btn" 
                    OnClick="btnReset_Click" meta:resourcekey="btnResetResource1" />

            </td>
        </tr>
    </table>
</asp:Content>